﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ProductList.aspx.cs" Inherits="ICement_Buying.Admin.ProductList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title></title>
    <style type="text/css">
                                #pager{line-height:normal;clear:both;text-align: right;padding:15px 0px 10px ; height:100px;}

.pageNum a:link,.pageNum a:visited,.pageNum strong{margin-right:3px;padding: 5px 8px;background-color:#ffffff;border:1px solid #ddd; color:#999999;}
.pageNum a:hover,.pageNum b a:hover,.pageNum .now:link,.pageNum .now:visited,.pageNum .now:hover,.pageNum strong{background-color:#fff7e2;border-color:#ff7300;color:#ff9000;}
.pageNum images{border:none;margin:0; }
.pageMark{padding:25px 0 5px 0;font-size:91.67%}
.pageMark a{color:#00349a}
.pageMark a,.pageMark strong{padding:1px;margin-left:3px}
.pageNum .current01{background:#f2f9ff; border:1px #a2d2ff solid; padding: 5px 8px; text-align:center;margin-right:10px; line-height:24px;}

                            </style>
</head>
<body>
    <form id="pagerForm" method="post" action="#rel#">
	<input type="hidden" name="pageNum" value="1" />
	<input type="hidden" name="numPerPage" value="${model.numPerPage}" />
	<input type="hidden" name="orderField" value="${param.orderField}" />
	<input type="hidden" name="orderDirection" value="${param.orderDirection}" />

<div class="pageHeader">
	<form rel="pagerForm" onsubmit="return navTabSearch(this);" action="w_removeSelected.html" method="post">
	<div class="searchBar">
		<ul class="searchContent">
			<li>
				<label>我的客户：</label>
				<input type="text" name="keywords" value=""/>
			</li>
			<li>
			<select class="combox" name="province">
				<option value="">所有省市</option>
				<option value="北京">北京</option>
				<option value="上海">上海</option>
				<option value="天津">天津</option>
				<option value="重庆">重庆</option>
				<option value="广东">广东</option>
			</select>
			</li>
		</ul>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
				<li><a class="button" href="demo_page6.html" target="dialog" mask="true" title="查询框"><span>高级检索</span></a></li>
			</ul>
		</div>
	</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="demo_page4.html" target="navTab"><span>添加</span></a></li>
			<li><a title="确实要删除这些记录吗?" target="selectedTodo" rel="ids" href="demo/common/ajaxDone.html" class="delete"><span>批量删除默认方式</span></a></li>
			<li><a title="确实要删除这些记录吗?" target="selectedTodo" rel="ids" postType="string" href="demo/common/ajaxDone.html" class="delete"><span>批量删除逗号分隔</span></a></li>
			<li><a class="edit" href="demo_page4.html?uid={sid_user}" target="navTab" warn="请选择一个用户"><span>修改</span></a></li>
			<li class="line">line</li>
			<li><a class="icon" href="demo/common/dwz-team.xls" target="dwzExport" targetType="navTab" title="实要导出这些记录吗?"><span>导出EXCEL</span></a></li>
		</ul>
	</div>
	<table class="table" width="1200" layoutH="138">
		<thead>
			<tr>
				<th width="30"><input type="checkbox" group="ids" class="checkboxCtrl"></th>
				<th width="120" class="asc">产品编号</th>
				<th width="80">产品名称</th>
				<th width="60">品牌</th>
				<th width="100">图片地址</th>
				<th width="100" align="center" >产品介绍</th>
				<th width="70">报价</th>
				<th width="70">报价日期</th>
				<th width="70">操作</th>
			</tr>
		</thead>
		<tbody>
            <% foreach (var item in _products)
               { %>
               <tr target="sid_user" rel="1">
				<td><input name="ids" value="xxx" type="checkbox"></td>
				<td><%=item.ProId %></td>
				<td><%=item.ProName %></td>
				<td><%=item.brand %></td>
				<td><font color="red"><%=item.pro_Pic.Length>0?"有图片":"无图片" %></font> <a href="<%=item.pro_Pic %>" target="_blank">查看图片</a> </td>
				<td><%=MyCement.Utils.Function.RemoveHtml(item.main_param) %></td>
				<td><%=item.pro_Price %></td>
				<td><%=item.quoted_Price %></td>
				<td>
					<a title="删除" target="ajaxTodo" href="demo/common/ajaxDone.html?id=xxx" class="btnDel">删除</a>
					<a title="编辑" target="navTab" href="demo_page4.html?id=xxx" class="btnEdit">编辑</a>
				</td>
			</tr>
               <% } %>
		</tbody>
	</table>
	<%--<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({numPerPage:this.value})">
				<option value="20">20</option>
				<option value="50">50</option>
				<option value="100">100</option>
				<option value="200">200</option>
			</select>
			<span>条，共${totalCount}条</span>
		</div>
		
		<div class="pagination" targetType="navTab" totalCount="200" numPerPage="20" pageNumShown="10" currentPage="1"></div>
        
	</div>--%>
    <%--<Pager:Pagination ID="pager" runat="server" CPageQueryName="page" FirstText="首页"
                            PreviousPageText="上一页" NextPageText="下一页" LastText="尾页" CssClass="fenpage rig frg"
                            CurrentPageClassName="current" PageNumberClassName="page" Target="navTab" />--%>
                            
    <Pager:Pagination ID="pager" runat="server" CPageQueryName="page" FirstText="首页" 
                            PreviousPageText="上一页" NextPageText="下一页" LastText="尾页" CssClass="pageNum"
                            CurrentPageClassName="current" PageNumberClassName="pagination" Target="navTab" />
</div>
</form>

</body>
</html>
